Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Tags API) refactor: share event handler name logic between translator/runtime #2363

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DylanPiercey
Copy link
Contributor

Description

Fixes an issue where the translator was normalizing event handler names differently from the spread runtime.
Now both the translator and runtime use the same helpers to ensure the same normalization and checking takes place.

Copy link

changeset-bot bot commented Nov 16, 2024

🦋 Changeset detected

Latest commit: 5b20530

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@marko/runtime-tags Patch
@marko/translator-tags Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Nov 16, 2024

Codecov Report

Attention: Patch coverage is 89.74359% with 4 lines in your changes missing coverage. Please review.

Project coverage is 87.87%. Comparing base (7165a78) to head (5b20530).

Files with missing lines Patch % Lines
packages/runtime-tags/src/dom/dom.ts 80.00% 2 Missing ⚠️
packages/runtime-tags/src/common/helpers.ts 85.71% 0 Missing and 1 partial ⚠️
packages/runtime-tags/src/html/attrs.ts 94.44% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2363      +/-   ##
==========================================
- Coverage   87.91%   87.87%   -0.04%     
==========================================
  Files         344      344              
  Lines       37669    37677       +8     
  Branches     2373     2369       -4     
==========================================
- Hits        33115    33110       -5     
- Misses       4532     4544      +12     
- Partials       22       23       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant